﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EduseKiosk
{
    public partial class LeftBarHidden : UserControl
    {
        public LeftBarHidden()
        {
            InitializeComponent();
        }

        private void buttonShow_Click(object sender, EventArgs e)
        {
            FormEduseKiosk form = FormEduseKiosk.Instance;

            Visible = false;

            form.LeftBarThumbnails.Visible =  true;
            form.PanelView.Enabled = false;
        }

        private void buttonTopics_Click(object sender, EventArgs e)
        {
            FormEduseKiosk form = FormEduseKiosk.Instance;

            Visible = false;

            form.LeftBarTTopics.Visible = true;
            form.PanelView.Enabled = false;
        }
    }
}
